package org.mifos.boss.persistence;

import org.mifos.boss.domainmodel.Customer;
import org.mifos.boss.domainmodel.Mobile2BossData;
import org.springframework.stereotype.Repository;

@Repository(value="bossPersistence")
public class BossPersistenceImpl extends BaseBossPersistence implements BossPersistenceInterface {

	public Customer createCustomer(Customer customer) {
		logger.debug("Saving new customer");
		
/*
	
		cb.setApplicableAccountType(acFee);
		save(cb);
*/		
		save(customer);
		
		//only for testing
//		save(getDummyClientCreationalData());
				
		return customer;
	}

	public void saveClientExcahngeData(Mobile2BossData mobile2BossData) {
		logger.debug("Saving Customer Uploaded Data");
		save(mobile2BossData);
	}

}
